package Test2;
/**
 *
 * @author 29284
 * @since 2024/11/29 21:07
 */
public class Phone {
    private String phone;
    private int price;
    private String color;

    public Phone() {
    }

    public Phone(String phone, int price, String color) {
        this.phone = phone;
        this.price = price;
        this.color = color;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }
}
